__author__ = 'Bill Liu'
from matrix import Matrix
from simplex import Simplex


target = Matrix('[1 -3 1 0 0]')
cA = Matrix('[2 -1 1 0 0; 2 1 0 -1 0; 1 2 0 0 1]')
cb = Matrix('[8; 2; 10]')
solution = Simplex(target_function=target, constraint_A=cA, constraint_b=cb, disp_style='tabular')
solution.solve_prob()

